package com.xagcdx.group1.bean;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author grou1
 * @since 2020-06-09
 */
@ApiModel(value="Job对象", description="")
public class Job extends Model<Job> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "职位主键")
    @TableId(value = "jid", type = IdType.UUID)
    private String jid;

    @ApiModelProperty(value = "部门id")
    private String did;

    @ApiModelProperty(value = "职位编码")
    private String jobcode;

    @ApiModelProperty(value = "职位名称")
    private String jobname;

    @ApiModelProperty(value = "职位类型")
    private String type;

    @ApiModelProperty(value = "职位状态0未启用1启用")
    private String tag;

    @ApiModelProperty(value = "职位描述")
    private String jobdesc;

  

	@ApiModelProperty(value = "备注")
    private String jobnote;

    @TableField(exist=false)
    private Depart depart;

    public Depart getDepart() {
		return depart;
	}

	public void setDepart(Depart depart) {
		this.depart = depart;
	}

	public String getJid() {
        return jid;
    }

    public void setJid(String jid) {
        this.jid = jid;
    }

    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public String getJobcode() {
        return jobcode;
    }

    public void setJobcode(String jobcode) {
        this.jobcode = jobcode;
    }

    public String getJobname() {
        return jobname;
    }

    public void setJobname(String jobname) {
        this.jobname = jobname;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getJobdesc() {
        return jobdesc;
    }

    public void setJobdesc(String jobdesc) {
        this.jobdesc = jobdesc;
    }

    public String getJobnote() {
        return jobnote;
    }

    public void setJobnote(String jobnote) {
        this.jobnote = jobnote;
    }

    @Override
    protected Serializable pkVal() {
        return this.jid;
    }

    @Override
    public String toString() {
        return "Job{" +
        "jid=" + jid +
        ", did=" + did +
        ", jobcode=" + jobcode +
        ", jobname=" + jobname +
        ", type=" + type +
        ", tag=" + tag +
        ", jobdesc=" + jobdesc +
        ", jobnote=" + jobnote +
        "}";
    }
}
